
<script ng-init="initCssAndJs()"></script>
<script ng-init="initCss('search-page/css/search.css')"></script>
<div id="page-pre" class="page" ng-init="showLikeList()">
	<div class="content">
		<div class="tab_top_all">
			<div class="tab_top">
				<a class="icon icon-left pull-left button-nav ic-left" href="javascript:history.back(-1)"></a>

				<div class="search_bg">
					<a href="">
						<div class="search_img" ng-click="showLikeList()"><img src="page/home-page/img/search2.png" />
						</div>
					</a>

					<div class="search_input"><input ng-model="keyWord" value="{{keyWord}}" type="text" placeholder="大家都在搜.." autofocus></div>
				</div>
			</div>
			<div style="clear: both"></div>
			<div class="top_four_tips">
				<ul>
					<li class="click_div" ng-click="getType(0)">人找车</li>
					<li ng-click="getType(1)">车找人</li>
				</ul>
			</div>
			<div style="clear: both;"></div>
		</div>
		<div class="content_div">
			<div class="tab display ">
				<div class="content_release_all">
					<ul>
						<li ng-repeat="dynamicInfo in dynamicsList">
							<div class="content_border_setting">
								<div class="user_top">
									<div class="content_user_img">
										<a href="#/other_home" ng-click="GoToOtherUser(dynamicInfo.user.userId)">
											<img ng-if="!dynamicInfo.user.userAvatarAddress" ng-src="page/home-page/img/avatar.png" />
											<img ng-if="dynamicInfo.user.userAvatarAddress" ng-src="{{dynamicInfo.user.userAvatarAddress}}" />
										</a>
									</div>
									<div class="nickname_distance">
										<div class="user_nickname">{{dynamicInfo.user.userNickName}}</div>
										<div class="distance">想去&nbsp;<i class="fa fa-map-marker"></i> {{dynamicInfo.placeTo}}
										</div>
									</div>
									<div class="time_type">
										<div class="time">{{dynamicInfo.tourdynaDate|date:"yyyy-MM-dd HH:mm:ss"}}</div>
										<!--<div ng-if="dynamicInfo.tourdynaType==0" class="type">人找车</div>-->
										<!--<div ng-if="dynamicInfo.tourdynaType==1" class="type">车找人</div>-->
									</div>
								</div>
								<div style="clear: both"></div>
								<div class="release_content">
									<ul>
										<li>{{dynamicInfo.tourdynaContent}}</li>
									</ul>
								</div>
								<div ng-if="dynamicInfo.tourdynaImg" class="img_div">
									<span ng-repeat="img in dynamicInfo.tourdynaImg track by $index">
                                <img ng-src="{{img}}" ng-click="showImg(dynamicInfo.tourdynaImg,$index)"/>
                                    </span>
								</div>
								<div class="release_details">
									<div class="release_one">
										出发地点：{{dynamicInfo.placeFrom}}
									</div>
									<div class="release_two">
										拼车类型：<span ng-if="dynamicInfo.tourdynaType==0" class="type">人找车</span><span ng-if="dynamicInfo.tourdynaType==1" class="type">车找人</span>
									</div>
								</div>

								<div class="release_details">
									<div class="release_one connect">
										联系方式：{{dynamicInfo.contactway}}
									</div>
									<div class="release_two">
										出发日期：{{dynamicInfo.tourdynaOutTime|date:"yyyy/MM/dd"}}
									</div>
								</div>
								<div class="three_tip">
									<div class="user_distance">距我{{dynamicInfo.distance}}</div>
									<div class="three">
										<ul>
											<li ng-if="dynamicInfo.isLike==1" class="li_div_list" ng-click="reduceLike(dynamicInfo.tourdynaId,$index)">
												<div class="fa praise fa-thumbs-o-up" style="color: #fb8d2f;">{{dynamicInfo.tourdynaLikeNum}}
												</div>
											</li>
											<li ng-if="dynamicInfo.isLike!=1" class="li_div_list" ng-click="addLike(dynamicInfo.tourdynaId,$index)">
												<div class="fa praise fa-thumbs-o-up">{{dynamicInfo.tourdynaLikeNum}}
												</div>
											</li>
											<li class="li_div_list">
												<a href="#/review" ng-click="GoToReview(dynamicInfo.tourdynaId)"><i class="fa fa-comment-o">{{dynamicInfo.tourdynaCommentNum}}</i>
												</a>
											</li>
											<li class="li_div_list"><i class="fa fa-share-square-o">转发</i></li>
										</ul>
									</div>
								</div>
								<div style="clear: both;"></div>
							</div>
						</li>
					</ul>

				</div>
			</div>
			<div class="tab hidden">
				<div class="content_release_all">
					<ul>
						<li ng-repeat="dynamicInfo in dynamicsList1">
							<div class="content_border_setting">
								<div class="user_top">
									<div class="content_user_img">
										<a href="#/other_home" ng-click="GoToOtherUser(dynamicInfo.user.userId)">
											<img ng-if="!dynamicInfo.user.userAvatarAddress" ng-src="page/home-page/img/avatar.png" />
											<img ng-if="dynamicInfo.user.userAvatarAddress" ng-src="{{dynamicInfo.user.userAvatarAddress}}" />
										</a>
									</div>
									<div class="nickname_distance">
										<div class="user_nickname">{{dynamicInfo.user.userNickName}}</div>
										<div class="distance">想去&nbsp;<i class="fa fa-map-marker"></i> {{dynamicInfo.placeTo}}
										</div>
									</div>
									<div class="time_type">
										<div class="time">{{dynamicInfo.tourdynaDate|date:"yyyy-MM-dd HH:mm:ss"}}</div>
										<!--<div ng-if="dynamicInfo.tourdynaType==0" class="type">人找车</div>-->
										<!--<div ng-if="dynamicInfo.tourdynaType==1" class="type">车找人</div>-->
									</div>
								</div>
								<div style="clear: both"></div>
								<div class="release_content">
									<ul>
										<li>{{dynamicInfo.tourdynaContent}}</li>
									</ul>
								</div>
								<div ng-if="dynamicInfo.tourdynaImg" class="img_div">
									<span ng-repeat="img in dynamicInfo.tourdynaImg track by $index">
                                <img ng-src="{{img}}" ng-click="showImg(dynamicInfo.tourdynaImg,$index)"/>
                                    </span>
								</div>
								<div class="release_details">
									<div class="release_one">
										出发地点：{{dynamicInfo.placeFrom}}
									</div>
									<div class="release_two">
										拼车类型：<span ng-if="dynamicInfo.tourdynaType==0" class="type">人找车</span><span ng-if="dynamicInfo.tourdynaType==1" class="type">车找人</span>
									</div>
								</div>

								<div class="release_details">
									<div class="release_one connect">
										联系方式：{{dynamicInfo.contactway}}
									</div>
									<div class="release_two">
										出发日期：{{dynamicInfo.tourdynaOutTime|date:"yyyy/MM/dd"}}
									</div>
								</div>
								<!--<div class="address_time">-->
									<!--<div class="user_address">-->
										<!--{{dynamicInfo.placeFrom}}-->
									<!--</div>-->
									<!--<div class="start_time">-->
										<!--出发日期：{{dynamicInfo.tourdynaOutTime|date:"yyyy-MM-dd"}}-->
									<!--</div>-->
								<!--</div>-->

								<div class="three_tip">
									<div class="user_distance">距我{{dynamicInfo.distance}}</div>
									<div class="three">
										<ul>
											<li ng-if="dynamicInfo.isLike==1" class="li_div_list" ng-click="reduceLike(dynamicInfo.tourdynaId,$index)">
												<div class="fa praise fa-thumbs-o-up" style="color: #fb8d2f;">{{dynamicInfo.tourdynaLikeNum}}
												</div>
											</li>
											<li ng-if="dynamicInfo.isLike!=1" class="li_div_list" ng-click="addLike(dynamicInfo.tourdynaId,$index)">
												<div class="fa praise fa-thumbs-o-up">{{dynamicInfo.tourdynaLikeNum}}
												</div>
											</li>
											<li class="li_div_list">
												<a href="#/review" ng-click="GoToReview(dynamicInfo.tourdynaId)"><i class="fa fa-comment-o">{{dynamicInfo.tourdynaCommentNum}}</i>
												</a>
											</li>
											<li class="li_div_list"><i class="fa fa-share-square-o">转发</i></li>
										</ul>
									</div>
								</div>
								<div style="clear: both;"></div>
							</div>
						</li>
					</ul>

				</div>
			</div>
		</div>
	</div>
</div>

<div ng-init="suiMobileInit('search-page/js/search.js')"></div>